package com.kan.bargain.feignborder;

import com.miao.commonn.utils.R;
import com.miao.commonn.vo.BargainVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 武者
 * @title: FeignBargain
 * @projectName miaosha
 * @description:
 * @date 2022/3/15 14:22
 */
@FeignClient("bargain")
public interface FeignBargain {

    @RequestMapping("/bargain/bargain/update")
    public R update(@RequestBody BargainVo bargain);

    @RequestMapping("/bargain/bargain/info")
    public R info1(@RequestParam Integer bid);


}
